//
//  LZLoginTextFieldView.h
//  laziz_Consumer
//
//  Created by ZhaoDongBo on 2016/10/25.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, LZLOGIN_TF_TYPE_PAGE) {
    LZLOGIN_TF_TYPE_PAGE_LOGIN = 1000,
    LZLOGIN_TF_TYPE_PAGE_FASTLOGIN,
    LZLOGIN_TF_TYPE_PAGE_REGISTER,
    LZLOGIN_TF_TYPE_PAGE_PASSWORD
};

typedef NS_ENUM(NSUInteger, LZLOGIN_TF_BUTTON_TAG) {
    LZLOGIN_TF_BUTTON_TAG_SHOWPASSWORD = 10000,
    LZLOGIN_TF_BUTTON_TAG_VERIFICCODE,
    LZLOGIN_TF_BUTTON_TAG_AGREEMENT,
};

@interface LZLoginTextFieldView : UIView

@property (nonatomic, assign) LZLOGIN_TF_TYPE_PAGE page;

@property (nonatomic, strong) UITextField * areaCodeTextField;
@property (nonatomic, strong) UIImageView * markImageView;
@property (nonatomic, strong) UITextField * mobileNumTextField;
@property (nonatomic, strong) UIButton * verificCodeButton;
@property (nonatomic, strong) UILabel * countdownLabel;
@property (nonatomic, strong) UIView * line1;

@property (nonatomic, strong) UITextField * verificCodeTextField;
@property (nonatomic, strong) UIView * line2;

@property (nonatomic, strong) UITextField * passwordTextField;
@property (nonatomic, strong) UIButton * showPWbutton;
@property (nonatomic, strong) UIView * line3;

@property (nonatomic, strong) UIButton * agreementButton;
@property (nonatomic, strong) UIButton * selectButton;
@property (nonatomic, strong) UILabel * agreementLabel;
@property (nonatomic, assign) BOOL agreeService; //是否同意了协议.默认同意

@property (nonatomic, copy) void(^buttonAction_TF_Block)(LZLOGIN_TF_BUTTON_TAG);

- (instancetype)initWithPage:(LZLOGIN_TF_TYPE_PAGE)page;

/**
 显示password recovery 气泡提醒
 */
- (void)showPasswordRecoveryPopView;


/**
 隐藏password recovery 气泡提醒
 */
- (void)hiddenPasswordRecoveryPopView;
@end
